package com.bone.com.service;

import java.util.List;

import com.bone.com.dao.ComLogDAO;
import com.bone.com.po.ComLog;

public interface ComLogService {

	/**
	 * 数据列表.
	 * 
	 * @param parameter
	 * @return
	 */
	List<ComLog> queryComLogListByParam(ComLog comlog);

	/**
	 * 根据ID取相应的信息.
	 * 
	 * @param para
	 * @return
	 */
	 ComLog queryComLogById(final Long comlogId);

	/**
	 * 保存.
	 * @param module
	 * @return
	 */
	boolean saveComlog(ComLog comlog);
	
	/**
	 * 保存.
	 * @param module
	 * @return
	 */
	boolean insertComlog(String objectType,Long objectId,String operatorId,String logType,String logName,String content, String memo);
	
	/**
	 * 保存.
	 * @param module
	 * @return
	 */
	boolean insertParentComlog(String objectType,Long objectId,Long parentId,String parentType,
			                  String contentType,Long operatorId,String logType,String logName,String content, String memo);

	ComLogDAO getComlogDAO();

	void setComlogDAO(ComLogDAO comlogDAO);

}